<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos  -->
			<title>Docs For Class Mysql</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
						<script src="../media/lib/classTree.js"></script>
												<script language="javascript" type="text/javascript">
				var imgPlus = new Image();
				var imgMinus = new Image();
				imgPlus.src = "../media/images/plus.png";
				imgMinus.src = "../media/images/minus.png";
				
				function showNode(Node){
							switch(navigator.family){
								case 'nn4':
									// Nav 4.x code fork...
							var oTable = document.layers["span" + Node];
							var oImg = document.layers["img" + Node];
									break;
								case 'ie4':
									// IE 4/5 code fork...
							var oTable = document.all["span" + Node];
							var oImg = document.all["img" + Node];
									break;
								case 'gecko':
									// Standards Compliant code fork...
							var oTable = document.getElementById("span" + Node);
							var oImg = document.getElementById("img" + Node);
									break;
							}
					oImg.src = imgMinus.src;
					oTable.style.display = "block";
				}
				
				function hideNode(Node){
							switch(navigator.family){
								case 'nn4':
									// Nav 4.x code fork...
							var oTable = document.layers["span" + Node];
							var oImg = document.layers["img" + Node];
									break;
								case 'ie4':
									// IE 4/5 code fork...
							var oTable = document.all["span" + Node];
							var oImg = document.all["img" + Node];
									break;
								case 'gecko':
									// Standards Compliant code fork...
							var oTable = document.getElementById("span" + Node);
							var oImg = document.getElementById("img" + Node);
									break;
							}
					oImg.src = imgPlus.src;
					oTable.style.display = "none";
				}
				
				function nodeIsVisible(Node){
							switch(navigator.family){
								case 'nn4':
									// Nav 4.x code fork...
							var oTable = document.layers["span" + Node];
									break;
								case 'ie4':
									// IE 4/5 code fork...
							var oTable = document.all["span" + Node];
									break;
								case 'gecko':
									// Standards Compliant code fork...
							var oTable = document.getElementById("span" + Node);
									break;
							}
					return (oTable && oTable.style.display == "block");
				}
				
				function toggleNodeVisibility(Node){
					if (nodeIsVisible(Node)){
						hideNode(Node);
					}else{
						showNode(Node);
					}
				}
			</script>
					</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class Mysql</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Описание</div>
	<div class="nav-bar">
					<span class="disabled">Описание</span> |
													<a href="#sec-var-summary">Переменные</a> (<a href="#sec-vars">детали</a>)
						|											<a href="#sec-method-summary">Методы</a> (<a href="#sec-methods">детали</a>)
						
											<a href="#sec-consts">Константы</a>
						
			</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Класс для работы с базой mysql</p>
		<p class="notes">
			Расположен в <a class="field" href="_core_db_mysql_php.html">/core/db/mysql.php</a> (строка <span class="field"><a href="..//__filesource/fsource_myLiveShop__coredbmysql.php.html#a15">15</a></span>)
		</p>
		
				
		<pre><a href="../myLiveShop/Base.html">Base</a>
   |
   --<a href="../myLiveShop/DB.html">DB</a>
      |
      --Mysql</pre>
	
			</div>
</div>



	<a name="sec-var-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Переменные</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Описание</a> |
						<span class="disabled">Переменные</span> (<a href="#sec-vars">детали</a>)
							| 
									<a href="#sec-method-summary">Методы</a> (<a href="#sec-methods">детали</a>)
							
															<a href="#sec-consts">Константы</a>
							
					</div>
		<div class="info-box-body">
			<div class="var-summary">
								<div class="var-title">
					<span class="var-type">string</span>
					<a href="#$last_query" title="детали" class="var-name">$last_query</a>
				</div>
								<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$session" title="детали" class="var-name">$session</a>
				</div>
							</div>
		</div>
	</div>

	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Методы</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Описание</a> |
															<a href="#sec-consts">Константы</a>
							
															<a href="#sec-var-summary">Переменные</a> (<a href="#sec-vars">детали</a>)
				 
				|
						<span class="disabled">Методы</span> (<a href="#sec-methods">детали</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
								
				<div class="method-definition">
											<span class="method-result">Mysql</span>
										<a href="#__construct" title="детали" class="method-name">__construct</a>
										()
									</div>
								
				<div class="method-definition">
											<span class="method-result">unknown</span>
										<a href="#buildQuery" title="детали" class="method-name">buildQuery</a>
											(<span class="var-type">array</span>&nbsp;<span class="var-name">$params</span>)
									</div>
								
				<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#close" title="детали" class="method-name">close</a>
										()
									</div>
								
				<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#connect" title="детали" class="method-name">connect</a>
										()
									</div>
								
				<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#delete" title="детали" class="method-name">delete</a>
											(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$table</span>, <span class="var-type">array</span>&nbsp;<span class="var-name">$where</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$таблица</span>)
									</div>
								
				<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#escaped" title="детали" class="method-name">escaped</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$value</span>)
									</div>
								
				<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#getArray" title="детали" class="method-name">getArray</a>
											(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$result</span>, [<span class="var-type">boolean</span>&nbsp;<span class="var-name">$one_row</span> = <span class="var-default">false</span>], [<span class="var-type">mixed</span>&nbsp;<span class="var-name">$one_field</span> = <span class="var-default">false</span>])
									</div>
								
				<div class="method-definition">
											<span class="method-result"><a href="../myLiveShop/Mysql.html">Mysql</a></span>
										<a href="#getInstance" title="детали" class="method-name">getInstance</a>
										()
									</div>
								
				<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#insert" title="детали" class="method-name">insert</a>
											(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$table</span>, <span class="var-type">array</span>&nbsp;<span class="var-name">$datas</span>, [<span class="var-type">array</span>&nbsp;<span class="var-name">$params</span> = <span class="var-default">false</span>], <span class="var-type">string</span>&nbsp;<span class="var-name">$таблица</span>)
									</div>
								
				<div class="method-definition">
											<span class="method-result">boolean</span>
										<a href="#isConnect" title="детали" class="method-name">isConnect</a>
										()
									</div>
								
				<div class="method-definition">
											<span class="method-result">int</span>
										<a href="#lastId" title="детали" class="method-name">lastId</a>
										()
									</div>
								
				<div class="method-definition">
											<span class="method-result">mixed</span>
										<a href="#query" title="детали" class="method-name">query</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$query</span>)
									</div>
								
				<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#update" title="детали" class="method-name">update</a>
											(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$table</span>, <span class="var-type">array</span>&nbsp;<span class="var-name">$data</span>, [<span class="var-type">array</span>&nbsp;<span class="var-name">$where</span> = <span class="var-default">''</span>], <span class="var-type">string</span>&nbsp;<span class="var-name">$таблица</span>)
									</div>
							</div>
		</div>
	</div>		

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Переменные</div>
		<div class="nav-bar">
			<a href="#sec-description">Описание</a> |
										<a href="#sec-var-summary">Переменные</a> (<span class="disabled">детали</span>)
						
			
												<a href="#sec-consts">Константы</a>
							
										| 
									<a href="#sec-method-summary">Методы</a> (<a href="#sec-methods">детали</a>)
							
					</div>
		<div class="info-box-body">
			<a name="var$last_query" id="$last_query"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">string</span>
			<span class="var-name">$last_query</span>
			 = <span class="var-default">''</span>			(line <span class="line-number"><a href="..//__filesource/fsource_myLiveShop__coredbmysql.php.html#a21">21</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Последний запрос</p>
	<ul class="tags">
				<li><span class="field">static:</span> </li>
				<li><span class="field">access:</span> private</li>
			</ul>
	
	
		
		

</div>
<a name="var$session" id="$session"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$session</span>
						(line <span class="line-number"><a href="..//__filesource/fsource_myLiveShop__coredbmysql.php.html#a27">27</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Текущая сессия</p>
	<ul class="tags">
				<li><span class="field">static:</span> </li>
				<li><span class="field">access:</span> private</li>
			</ul>
	
	
		
		

</div>
							<h4>Наследуемые переменные</h4>
				<A NAME='inherited_vars'><!-- --></A>
									<p>Наследует из <span class="classname"><a href="../myLiveShop/DB.html">DB</a></span></p>
					<blockquote>
													<span class="var-title">
								<span class="var-name"><a href="../myLiveShop/DB.html#var$instance">DB::$instance</a></span><br>
							</span>
											</blockquote> 
										
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Методы</div>
		<div class="nav-bar">
			<a href="#sec-description">Описание</a> |
															<a href="#sec-var-summary">Переменные</a> (<a href="#sec-vars">детали</a>)
																			<a href="#sec-consts">Константы</a>
							
										<a href="#sec-method-summary">Методы</a> (<span class="disabled">детали</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>
<a name="method__construct" id="__construct"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">Constructor __construct</span> (line <span class="line-number"><a href="..//__filesource/fsource_myLiveShop__coredbmysql.php.html#a32">32</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Конструктор</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">Mysql</span>
		<span class="method-name">
			__construct
		</span>
				()
			</div>
	
		
			<hr class="separator" />
		<div class="notes">Переопределён в:</div>
		<dl>
			<dt><a href="../myLiveShop/Base.html#method__construct">Base::__construct()</a></dt>
						<dd>Коструктор</dd>
					</dl>
		
	</div>
<a name="methodbuildQuery" id="buildQuery"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">buildQuery</span> (line <span class="line-number"><a href="..//__filesource/fsource_myLiveShop__coredbmysql.php.html#a102">102</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">конструктор запросов</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">unknown</span>
		<span class="method-name">
			buildQuery
		</span>
					(<span class="var-type">array</span>&nbsp;<span class="var-name">$params</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$params</span><span class="var-description">: массив настроек в котром обязательно должны быть поле table</span>			</li>
				</ul>
		
		
	</div>
<a name="methodclose" id="close"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">close</span> (line <span class="line-number"><a href="..//__filesource/fsource_myLiveShop__coredbmysql.php.html#a66">66</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Закрываем конект к базе</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			close
		</span>
				()
			</div>
	
		
			<hr class="separator" />
		<div class="notes">Переопределён в:</div>
		<dl>
			<dt><a href="../myLiveShop/DB.html#methodclose">DB::close()</a></dt>
						<dd>Закрываем конект к базе</dd>
					</dl>
		
	</div>
<a name="methodconnect" id="connect"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">connect</span> (line <span class="line-number"><a href="..//__filesource/fsource_myLiveShop__coredbmysql.php.html#a50">50</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Конект к базе данных</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			connect
		</span>
				()
			</div>
	
		
			<hr class="separator" />
		<div class="notes">Переопределён в:</div>
		<dl>
			<dt><a href="../myLiveShop/DB.html#methodconnect">DB::connect()</a></dt>
						<dd>Конект к базе данных</dd>
					</dl>
		
	</div>
<a name="methoddelete" id="delete"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">delete</span> (line <span class="line-number"><a href="..//__filesource/fsource_myLiveShop__coredbmysql.php.html#a193">193</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Удаление данных</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			delete
		</span>
					(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$table</span>, <span class="var-type">array</span>&nbsp;<span class="var-name">$where</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$таблица</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$таблица</span>			</li>
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$where</span><span class="var-description">: строка where</span>			</li>
				</ul>
		
			<hr class="separator" />
		<div class="notes">Переопределён в:</div>
		<dl>
			<dt><a href="../myLiveShop/DB.html#methoddelete">DB::delete()</a></dt>
						<dd>Удаление данных</dd>
					</dl>
		
	</div>
<a name="methodescaped" id="escaped"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">escaped</span> (line <span class="line-number"><a href="..//__filesource/fsource_myLiveShop__coredbmysql.php.html#a209">209</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Защитить данные</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			escaped
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$value</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$value</span>			</li>
				</ul>
		
			<hr class="separator" />
		<div class="notes">Переопределён в:</div>
		<dl>
			<dt><a href="../myLiveShop/DB.html#methodescaped">DB::escaped()</a></dt>
						<dd>Защитить данные</dd>
					</dl>
		
	</div>
<a name="methodgetArray" id="getArray"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getArray</span> (line <span class="line-number"><a href="..//__filesource/fsource_myLiveShop__coredbmysql.php.html#a219">219</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Получить массив данных по запросу</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getArray
		</span>
					(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$result</span>, [<span class="var-type">boolean</span>&nbsp;<span class="var-name">$one_row</span> = <span class="var-default">false</span>], [<span class="var-type">mixed</span>&nbsp;<span class="var-name">$one_field</span> = <span class="var-default">false</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$result</span><span class="var-description">: либо строка запроса либо ресурс</span>			</li>
					<li>
				<span class="var-type">boolean</span>
				<span class="var-name">$one_row</span><span class="var-description">: возврашать только один ряд</span>			</li>
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$one_field</span><span class="var-description">: возвратить только этот столбец</span>			</li>
				</ul>
		
			<hr class="separator" />
		<div class="notes">Переопределён в:</div>
		<dl>
			<dt><a href="../myLiveShop/DB.html#methodgetArray">DB::getArray()</a></dt>
						<dd>Получить массив данных по запросу</dd>
					</dl>
		
	</div>
<a name="methodgetInstance" id="getInstance"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getInstance</span> (line <span class="line-number"><a href="..//__filesource/fsource_myLiveShop__coredbmysql.php.html#a40">40</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Поличение инстанса класса</p>
	<ul class="tags">
				<li><span class="field">static:</span> </li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../myLiveShop/Mysql.html">Mysql</a></span>
		<span class="method-name">
			getInstance
		</span>
				()
			</div>
	
		
			<hr class="separator" />
		<div class="notes">Переопределён в:</div>
		<dl>
			<dt><a href="../myLiveShop/DB.html#methodgetInstance">DB::getInstance()</a></dt>
						<dd>Поличение инстанса класса</dd>
					</dl>
		
	</div>
<a name="methodinsert" id="insert"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">insert</span> (line <span class="line-number"><a href="..//__filesource/fsource_myLiveShop__coredbmysql.php.html#a132">132</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Вставка данных</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			insert
		</span>
					(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$table</span>, <span class="var-type">array</span>&nbsp;<span class="var-name">$datas</span>, [<span class="var-type">array</span>&nbsp;<span class="var-name">$params</span> = <span class="var-default">false</span>], <span class="var-type">string</span>&nbsp;<span class="var-name">$таблица</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$таблица</span>			</li>
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$datas</span><span class="var-description">: массив данных</span>			</li>
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$params</span><span class="var-description">: настройки ignore</span>			</li>
				</ul>
		
			<hr class="separator" />
		<div class="notes">Переопределён в:</div>
		<dl>
			<dt><a href="../myLiveShop/DB.html#methodinsert">DB::insert()</a></dt>
						<dd>Вставка данных</dd>
					</dl>
		
	</div>
<a name="methodisConnect" id="isConnect"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">isConnect</span> (line <span class="line-number"><a href="..//__filesource/fsource_myLiveShop__coredbmysql.php.html#a201">201</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Возвращает true если база подконекчена</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">boolean</span>
		<span class="method-name">
			isConnect
		</span>
				()
			</div>
	
		
			<hr class="separator" />
		<div class="notes">Переопределён в:</div>
		<dl>
			<dt><a href="../myLiveShop/DB.html#methodisConnect">DB::isConnect()</a></dt>
						<dd>Возвращает true если база подконекчена</dd>
					</dl>
		
	</div>
<a name="methodlastId" id="lastId"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">lastId</span> (line <span class="line-number"><a href="..//__filesource/fsource_myLiveShop__coredbmysql.php.html#a93">93</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Последний ID</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">int</span>
		<span class="method-name">
			lastId
		</span>
				()
			</div>
	
		
			<hr class="separator" />
		<div class="notes">Переопределён в:</div>
		<dl>
			<dt><a href="../myLiveShop/DB.html#methodlastId">DB::lastId()</a></dt>
						<dd>Последний ID</dd>
					</dl>
		
	</div>
<a name="methodquery" id="query"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">query</span> (line <span class="line-number"><a href="..//__filesource/fsource_myLiveShop__coredbmysql.php.html#a78">78</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Запрос к базе</p>
	<ul class="tags">
				<li><span class="field">return:</span> результат запроса</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">mixed</span>
		<span class="method-name">
			query
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$query</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$query</span><span class="var-description">: строка запроса</span>			</li>
				</ul>
		
			<hr class="separator" />
		<div class="notes">Переопределён в:</div>
		<dl>
			<dt><a href="../myLiveShop/DB.html#methodquery">DB::query()</a></dt>
						<dd>Запрос к базе</dd>
					</dl>
		
	</div>
<a name="methodupdate" id="update"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">update</span> (line <span class="line-number"><a href="..//__filesource/fsource_myLiveShop__coredbmysql.php.html#a180">180</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Изменение данных</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			update
		</span>
					(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$table</span>, <span class="var-type">array</span>&nbsp;<span class="var-name">$data</span>, [<span class="var-type">array</span>&nbsp;<span class="var-name">$where</span> = <span class="var-default">''</span>], <span class="var-type">string</span>&nbsp;<span class="var-name">$таблица</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$таблица</span>			</li>
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$data</span><span class="var-description">: массив данных</span>			</li>
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$where</span><span class="var-description">: строка where</span>			</li>
				</ul>
		
			<hr class="separator" />
		<div class="notes">Переопределён в:</div>
		<dl>
			<dt><a href="../myLiveShop/DB.html#methodupdate">DB::update()</a></dt>
						<dd>Изменение данных</dd>
					</dl>
		
	</div>
							<h4>Наследуемые методы</h4>
				<a name='inherited_methods'><!-- --></a>	
									<!-- =========== Summary =========== -->
					<p>Наследует из <span class="classname"><a href="../myLiveShop/DB.html">DB</a></span></p>
					<blockquote>
													<span class="method-name"><a href="../myLiveShop/DB.html#methodapostrof">DB::apostrof()</a></span><br>
													<span class="method-name"><a href="../myLiveShop/DB.html#methodclose">DB::close()</a></span><br>
													<span class="method-name"><a href="../myLiveShop/DB.html#methodconnect">DB::connect()</a></span><br>
													<span class="method-name"><a href="../myLiveShop/DB.html#methoddelete">DB::delete()</a></span><br>
													<span class="method-name"><a href="../myLiveShop/DB.html#methoderaseData">DB::eraseData()</a></span><br>
													<span class="method-name"><a href="../myLiveShop/DB.html#methodescaped">DB::escaped()</a></span><br>
													<span class="method-name"><a href="../myLiveShop/DB.html#methodgetArray">DB::getArray()</a></span><br>
													<span class="method-name"><a href="../myLiveShop/DB.html#methodgetInstance">DB::getInstance()</a></span><br>
													<span class="method-name"><a href="../myLiveShop/DB.html#methodinsert">DB::insert()</a></span><br>
													<span class="method-name"><a href="../myLiveShop/DB.html#methodisConnect">DB::isConnect()</a></span><br>
													<span class="method-name"><a href="../myLiveShop/DB.html#methodlastId">DB::lastId()</a></span><br>
													<span class="method-name"><a href="../myLiveShop/DB.html#methodprepareData">DB::prepareData()</a></span><br>
													<span class="method-name"><a href="../myLiveShop/DB.html#methodquery">DB::query()</a></span><br>
													<span class="method-name"><a href="../myLiveShop/DB.html#methodupdate">DB::update()</a></span><br>
											</blockquote>
									<!-- =========== Summary =========== -->
					<p>Наследует из <span class="classname"><a href="../myLiveShop/Base.html">Base</a></span></p>
					<blockquote>
													<span class="method-name"><a href="../myLiveShop/Base.html#method__construct">Base::__construct()</a></span><br>
											</blockquote>
										
		</div>
	</div>

	<a name="sec-consts"></a>
	<div class="info-box">
		<div class="info-box-title">Константы класса</div>
		<div class="nav-bar">
			<a href="#sec-description">Описание</a> |
										<a href="#sec-var-summary">Константы</a> (<span class="disabled">детали</span>)
						
			
												<a href="#sec-var-summary">Переменные</a> (<a href="#sec-vars">детали</a>)
														| 
									<a href="#sec-method-summary">Методы</a> (<a href="#sec-methods">детали</a>)
							
					</div>
		<div class="info-box-body">
										<h4>Наследуемые константы</h4>
				<A NAME='inherited_vars'><!-- --></A>
									<p>Наследует из <span class="classname"><a href="../myLiveShop/DB.html">DB</a></span></p>
					<blockquote>
											</blockquote> 
										
		</div>
	</div>

	<p class="notes" id="credit">
		Документ создан Mon, 14 Feb 2011 01:08:57 +0200 в <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.3.0RC3</a>
	</p>
	</div></body>
</html>